package org.ssm.footstep;

import java.io.IOException;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;

import org.ssm.footstep.ui.PlugInSelect;
import org.ssm.footstep.util.Utility;

import chrriis.dj.nativeswing.swtimpl.NativeInterface;

public class Main {
	public static void main(String args[]) throws IOException {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (Exception e) {
			e.printStackTrace();
		}

		Utility.loadProperties();
		
		NativeInterface.open();
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				PlugInSelect select = new PlugInSelect();
				select.makeGUI();
			}
		});
		NativeInterface.runEventPump();
	}
}
